/**
 * 作者:李杰
 * email: maillijie@gmail.com
 */
package com.javainfo.util;

public class Const {

	/** 保存在session中的用户信息 */
	public static final String LOGIN_INFO = "loginInfo";
	
	/** view_history */
	public static final String VIEW_HISTORY ="view_history";
	
	/** last_view */
	public static final String LAST_VIEW ="last_view";
	
	/** articleIds */
	public static final String ARTICLE_IDS = "articleIds";
	
	/** noLogin */
	public static final String NO_LOGIN ="noLogin";
	
	/** FILE_PATH_SPLIT */
	public static final String FILE_PATH_SPLIT = "\\";
	
	/** HYPHEN */
	public static final String HYPHEN ="-";
	
	/** EMPTY_STRING */
	public static final String EMPTY_STRING = "";
	
	/** POINT */
	public static final String POINT = ".";
	
	/** 空白字符正则表达式 */
	public static final String EMPTY_REG = "^\\s*$";
	
	/** 是否允许FckEditer的文件上传功能 */
	public static final Boolean CAN_FCK_UPLOAD = false;

	public class Message{
		/** 未知用户message */
		public static final String UNKNOWN_USER = "unknownuser";
	}
	
	public class UploadFileManage{
		public static final String TO_DB = "toDb";
		public static final String TO_FILE_SYSTEM = "toFileSystem";
		public static final int BUFFER_SIZE = 16 * 1024;  
	}
}
